
package com.woniuxy.third.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@ApiModel(
        value = "Video对象",
        description = "课程视频"
)
@AllArgsConstructor
@Data
public class Video implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("视频ID")
    private String id;
    @ApiModelProperty("课程ID")
    private String courseId;
    @ApiModelProperty("章节ID")
    private String chapterId;
    @ApiModelProperty("节点名称")
    private String title;
    @ApiModelProperty("云端视频资源")
    private String videoSourceId;
    @ApiModelProperty("原始文件名称")
    private String videoOriginalName;
    @ApiModelProperty("播放次数")
    private Long playCount;
    @ApiModelProperty("是否可以试听：0收费 1免费")
    private Boolean isFree;
    @ApiModelProperty("视频时长（秒）")
    private Float duration;
    @ApiModelProperty("Empty未上传 Transcoding转码中  Normal正常")
    private String status;
    @ApiModelProperty("视频源文件大小（字节）")
    private Long size;
    @ApiModelProperty("创建时间")
    private Date gmtCreate;
    @ApiModelProperty("更新时间")
    private Date gmtModified;

    public Video() {
    }

    public String getId() {
        return this.id;
    }

    public String getCourseId() {
        return this.courseId;
    }

    public String getChapterId() {
        return this.chapterId;
    }

    public String getTitle() {
        return this.title;
    }

    public String getVideoSourceId() {
        return this.videoSourceId;
    }

    public String getVideoOriginalName() {
        return this.videoOriginalName;
    }

    public Long getPlayCount() {
        return this.playCount;
    }

    public Boolean getIsFree() {
        return this.isFree;
    }

    public Float getDuration() {
        return this.duration;
    }

    public String getStatus() {
        return this.status;
    }

    public Long getSize() {
        return this.size;
    }

    public Date getGmtCreate() {
        return this.gmtCreate;
    }

    public Date getGmtModified() {
        return this.gmtModified;
    }


}
